Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a valve model #59

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dietmarw
Copy link
Collaborator

@dietmarw dietmarw commented Apr 3, 2024

This fixes #57 by adding a base class of a valve which then in turn is used by a new valve model and a modified simple turbine model.

@dietmarw dietmarw self-assigned this Apr 3, 2024
@dietmarw dietmarw requested a review from boerrebj April 3, 2024 12:06
@dietmarw dietmarw added the enhancement New feature or request label Apr 3, 2024
@dietmarw dietmarw added this to the v2.1.0 milestone Apr 3, 2024
@dietmarw dietmarw force-pushed the t57-isolated-valve branch from cc4eb02 to c8772cc Compare April 3, 2024 12:20
@dietmarw
Copy link
Collaborator Author

dietmarw commented Apr 3, 2024

@boerrebj I'm not expecting you to go through this in detail but if you could just take a quick look at OpenHPL.Examples.SimpleValve and how the new OpenHPL.Waterway.Valve is now using OpenHPL.ElectroMech.BaseClasses.BaseValve and if you think this is OK. Then you can approve it :-)

@dietmarw dietmarw force-pushed the t57-isolated-valve branch 2 times, most recently from 968d379 to 49cf546 Compare April 17, 2024 08:08
dietmarw added 5 commits June 28, 2024 12:22
Fixes #75

At the same time a simple valve component is introduced which is based on the `BaseValve` model just like the turbine model is now also based on this.
An example model was also added.
Since we now have a `SimpleValve` model a it seems better to emphasise when a turbine is part of the example.
The BaseValve model takes care of this.
@dietmarw dietmarw force-pushed the t57-isolated-valve branch from 49cf546 to 6d376e4 Compare June 28, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create an isolated valve model
1 participant